﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Data;
using Enter.Entity;
using Enter.Config;

namespace Enter.Services.Mail
{
     [ServiceContract]
    public partial interface IMail
    {
        #region

        /// <summary>
        /// 通过活动Id获取活动信息
        /// </summary>
        /// <param name="atyId"></param>
        /// <returns></returns>
        [OperationContract]
        int GetBaseById(int id);

        [OperationContract]
        DataTable GetBaseTableById(int id);
        #endregion

        #region 地区
        /// <summary>
        /// 地区
        /// </summary>
        /// <returns></returns>
        List<T9002_AreaEntity> GetAreaList();
           List<T9002_AreaEntity> GetArea(string parentNo);

           List<T9002_AreaEntity> GetArea();
        #endregion

           #region 图片
           /// <summary>
         /// 网站图片配置参数
         /// </summary>
         /// <returns></returns>
        List<T9003_ImgDictionaryEntity> GetImgDictionaryList();
         /// <summary>
        /// 网站图片配置参数
         /// </summary>
         /// <param name="imgtype"></param>
         /// <param name="UploadPath"></param>
         /// <param name="ServerPath"></param>
         /// <param name="width"></param>
         /// <param name="height"></param>
         /// <param name="size"></param>
        void GetUploadPath(ImgRootType imgtype, out string UploadPath, out string ServerPath, out int width, out int height, out int size);

           #endregion
        /// <summary>
        /// 获取首页广告列表
        /// </summary>
        /// <returns></returns>
        IList<T802_IndexFlashEntity> GetIndexFlashList();
    }
}
